package com.lill.system.service;

import java.util.List;
import java.util.Map;

import com.lill.system.model.SysRoleEntity;
import com.lill.system.model.SysUserEntity;


/**
 * 角色
 *
 * @author lill
 */
public interface ISysRoleService {

    SysRoleEntity queryObject(String roleId);

    List<SysRoleEntity> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    int save(SysRoleEntity role,SysUserEntity user);

    int update(SysRoleEntity role,SysUserEntity user);

    int deleteBatch(String[] roleIds);

    /**
     * 查询用户创建的角色ID列表
     */
    List<String> queryRoleIdList(String createUser);

	int deleteLogicByMap(Map<String, Object> params);

	int copyRoles(String[] roleIds, String companyId, SysUserEntity curUser);
}
